package com.enjoyor.soa.traffic.core.efoms.service;

import com.enjoyor.soa.traffic.core.efoms.domain.DeviceWranInfo;
import com.enjoyor.soa.traffic.util.pojo.Page;

import java.util.List;

public interface IDeviceWranInfoService {
	
    public DeviceWranInfo selectDeviceWranInfoById(String devWranId);
	
    public DeviceWranInfo selectDeviceWranInfoByKey(String devCategoryCode, String devTypeCode, String devId, 
    		String wranTypeCode, String isRecover);
    
	public List<DeviceWranInfo> selectDeviceWranInfoList(String devWranId, String devCategoryCode, String devTypeCode,
			String devId, String devName, String key, String wranTypeCode, String wranLevelCode, String wranContent,
			String isRecover, String wranStartTime, String wranEndTime);

	public Page selectDeviceWranInfoPage(Page page, String devWranId, String devCategoryCode, String devTypeCode,
			String devId, String devName, String key, String wranTypeCode, String wranLevelCode, String wranContent,
			String isRecover, String wranStartTime, String wranEndTime);
    
    public String insertDeviceWranInfo(DeviceWranInfo deviceWranInfo, String personName);

    public String updateDeviceWranInfo(DeviceWranInfo deviceWranInfo, String personName);

    public String deleteDeviceWranInfo(String devWranId, String personName);

    public String insertDeviceWranInfoHis(DeviceWranInfo deviceWranInfo, String personName);
    
    public String updateTimeByWranType(String devCategoryCode, String devTypeCode, String devId, 
    		String wranTypeCode, String wranContent, String personName);
}
